package com.chinadci.smartcommunitysystembackstage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 商品信息
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@TableName("scs_commodity")
@ApiModel(value="ScsCommodity对象", description="")
public class ScsCommodity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品编号")
    @TableId(value = "c_id", type = IdType.AUTO)
    private Integer cId;

    @ApiModelProperty(value = "商品名称")
    private String cName;

    @ApiModelProperty(value = "商品价格")
    private Float cMoney;

    @ApiModelProperty(value = "商品类型")
    private Integer ctId;

    @ApiModelProperty(value = "计费单位	（0 按斤计算   1按个计算）")
    private Integer cCompany;


}
